package com.shtel.paas.monitorcenter.process.management.service;

import com.shtel.paas.monitorcenter.process.management.entity.AlarmFrequencyEntity;
import com.shtel.paas.monitorcenter.process.management.entity.HostInformation;
import com.shtel.paas.monitorcenter.process.management.entity.ProcessInforEntity;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ProcessInfoDataService {
    public List<ProcessInforEntity> selectAllProccessInfo();
//    public Page<ProcessInforEntity> selectAllProccessInfo(int page, int size);
    public int deleteProcessInfo(ProcessInforEntity param);
    public List<HostInformation> selectHostInfo(int hostid);
    public int insertProcessInfo(ProcessInforEntity paramList, AlarmFrequencyEntity alarmFrequencyEntity);
    public int updateProcessInfo(ProcessInforEntity param,AlarmFrequencyEntity alarmFrequencyEntity);
    public List<ProcessInforEntity> selectSingleInfo(String ip);

}